from django.db import models

from apis.models.people import People


class Group(models.Model):
    name = models.CharField(max_length=255, default='')
    created = models.DateTimeField(auto_now_add=True)
    updated = models.DateTimeField(auto_now=True)
    peoples = models.ManyToManyField(People, through='PeopleGroup')
